package com.service.serviceImpl;

import com.mapper.CouponMapper;
import com.service.ICouponService;
import com.service.IProductService;
import com.vo.adminVo.AddCouponVo;
import com.vo.couponVo.CouponListRequestVo;
import com.vo.couponVo.CouponListResponseVo;
import com.vo.couponVo.UpdateCouponVo;
import org.mybatis.logging.Logger;
import org.mybatis.logging.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author hl
 * @Date
 * @Describe 优惠券相关功能实现
 */
@Service
public class CouponServiceImpl implements ICouponService {
    Logger logger = LoggerFactory.getLogger(ICouponService.class);

    @Resource
    CouponMapper couponMapper;

    @Override
    public List<CouponListResponseVo> getCouponList(CouponListRequestVo vo) {
        return couponMapper.getCouponList(vo);
    }

    @Override
    public void updateCoupon(UpdateCouponVo vo) {

    }

    @Override
    public void deleteCoupon(Integer[] id) {

    }

    @Override
    public void addCoupon(AddCouponVo addVo) {

    }
}
